package controller

import (
	datatypes "notabug.org/BigWaffleMonster/ip-checker-telegram-bot/pkg/dataTypes"
)

func (c *Controller) GetIpInfo(ip string) (error, datatypes.MessageErrorType, datatypes.IpResponseType)  {
	err, msg, data := c.services.Message.GetIpInfo(ip)

  return err, msg, data
}

func (c *Controller) MakeResponseMessage(data datatypes.IpResponseType) string {
  msg := c.services.MakeResponseMessage(data)

  return msg
}
